package com.building.service;

import com.building.common.R;
import com.building.entity.EngineeringStage;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
/**
@author yinjiahui
@create 2021-04-07 19:22
*/
public interface EngineeringStageService extends IService<EngineeringStage>{


    int updateBatch(List<EngineeringStage> list);

    int updateBatchSelective(List<EngineeringStage> list);

    int batchInsert(List<EngineeringStage> list);

    int insertOrUpdate(EngineeringStage record);

    int insertOrUpdateSelective(EngineeringStage record);

    /**
     *  查询所有的项目工程阶段
     * @return
     */
    List<EngineeringStage> selectEngineeringStage();

    /**
     *
     * 根据项目工程阶段id删除
     *
     * @param engineeringStageId
     * @return
     */
    void deleteEngineeringStageByEngineeringStageId(Integer engineeringStageId);

    /**
     *
     * 新增或修改项目工程阶段
     *
     * @param engineeringStage
     * @return
     */
    R insertOrUpdateEngineeringStage(EngineeringStage engineeringStage);
}
